package com.snow.service.log;

import com.github.pagehelper.PageInfo;
import com.snow.pojo.model.LogDomain;
import org.springframework.stereotype.Service;

/*
日志业务
 */
public interface LogService {

    /*
    添加日志
     */
    void addLog(String action,String data,String ip, Integer authorId);

    /*
    删除日志
     */

   void deleteLogById(Integer id);

    /*
    获取日志
     */
    PageInfo<LogDomain> getLogs(int pageNum, int size);


}
